package abstract01;

public class Rectangle extends Shape{
    int length;
    int width;
    @Override
    public int getPerimeter() {
        return 2 * (length + width);
    }

    @Override
    public int getArea() {
        return length * width;
    }
}
